package jiangzuomanage.dao;

import jiangzuomanage.model.JiangZuo;

import java.util.List;

public interface JiangZuoDao {
    /**
     * 增加讲座
     * @param jiangZuo
     */
    public boolean addJiangZuo(JiangZuo jiangZuo);

    /**
     * 删除讲座
     * @param jiangZuo
     */
    public boolean deleteJiangZuo(JiangZuo jiangZuo);

    /**
     * 更细讲座
     * @param jiangZuo
     */
    public boolean updateJiangZuo(JiangZuo jiangZuo);

    /**
     * 查询讲座
     * @param jiangZuo
     * @return
     */
    public List<JiangZuo> findJiangZuo(JiangZuo jiangZuo);

    /**
     * 查询讲座
     * @param jiangZuo
     * @return
     */
    public JiangZuo findById(JiangZuo jiangZuo);
}
